Sort Method (Messages Collection) 

The Sort method sorts the messages in the collection according to the specified sort order.

Syntax

objMsgColl.Sort(sortOrder)

Parameters

objMsgColl

Required. The Messages collection object.

sortOrder

Required. Long. The specified sort order, one of the following values:

Value

Numeric value

Description

mapiNone

0

No sort

mapiAscending

1

Ascending sort

mapiDescending

2

Descending sort

 

See Also

Update Method (Message Object)2E9FDDD